package com.huang.auth.entity.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 资源修改请求
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AuthResourceEditRequest {

    @ApiModelProperty("资源id")
    private Long id;

    @ApiModelProperty("资源编码")
    private String code;

    @ApiModelProperty("接口名称")
    private String name;

    @ApiModelProperty("菜单ID")
    private Long menuId;

    @ApiModelProperty("请求方法")
    private String method;

    @ApiModelProperty("请求url")
    private String url;

    @ApiModelProperty("资源描述")
    private String describe_;

    @ApiModelProperty("更新者")
    private String updateUser;
}
